package com.yinhe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yinhe.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;

/**
 * 日常质量问题报对象 yh_dailyquality
 *
 * @author yinhe
 * @date 2022-10-28
 */
public class YhDailyquality extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private SysDept dept;
    public SysDept getDept()
    {
        return dept;
    }

    public void setDept(SysDept dept)
    {
        this.dept = dept;
    }

    /** ID */
    private Long id;

    /** 问题名称 */
    @Excel(name = "问题名称",dictType = "yh_issue_name")
    private String issueName;

    /** 问题属性 */
    @Excel(name = "问题属性",dictType = "yh_issue_type")
    private String issueType;

    /** 问题发现方式 */
    @Excel(name = "问题发现方式",dictType = "yh_issue_discovery")
    private String issueDiscovery;

    /** 质量体系问题涉及过程 */
    @Excel(name = "质量体系问题涉及过程")
    private String involveProcess;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCodes;

    /** 承制单位性质 */
    @Excel(name = "承制单位性质")
    private String contractorUnitNature;

    /** 监管方式 */
    @Excel(name = "监管方式")
    private String supervisionMethod;

    /** 发现问题JS代表 */
    @Excel(name = "发现问题JS代表",dictType = "yh_found_problems")
    private String foundProblems;

    /** 计划归零时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划归零时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date plannedZeroTime;

    /** 监管JDB室 */
    @Excel(name = "监管JDB室")
    private String representativeOffice;

    /** 处理牵头组织单位 */
    @Excel(name = "处理牵头组织单位")
    private String dealWithOrganization;

    /** 问题事实描述 */
    @Excel(name = "问题事实描述")
    private String problemFactDescription;

    /** 问题原因详述 */
    @Excel(name = "问题原因详述")
    private String causeDetails;

    /** 解决措施落实情况 */
    @Excel(name = "解决措施落实情况")
    private String settlementMeasures;

    /** 问题编号 */
    @Excel(name = "问题编号",dictType = "yh_question_number")
    private String questionNumber;

    /** 问题直接原因类别 */
    @Excel(name = "问题直接原因类别",dictType = "yh_direct_cause_category")
    private String directCauseCategory;

    /** 问题模式 */
    @Excel(name = "问题模式",dictType = "yh_problem_model")
    private String problemModel;

    /** 承制单位代号 */
    @Excel(name = "承制单位代号")
    private String contractorUnitCode;

    /** 承制单位所属部门 */
    @Excel(name = "承制单位所属部门")
    private String contractorDepartment;

    /** JDBJJ印章序号 */
    @Excel(name = "JDBJJ印章序号",dictType = "yh_representative_office_seal_number")
    private String representativeOfficeSealNumber;

    /** 发现问题日期 */
    @Excel(name = "发现问题日期")
    private String discoveryDate;

    /** 监管JDB局 */
    @Excel(name = "监管JDB局")
    private String representativeBureau;

    /** 问题处理JS代表 */
    @Excel(name = "问题处理JS代表")
    private String problemSolving;

    /** 问题归零情况 */
    @Excel(name = "问题归零情况",dictType = "yh_problem_zero")
    private String problemZero;

    /** 质量问题级别 */
    @Excel(name = "质量问题级别")
    private String problemLevel;

    /** 内外场区别 */
    @Excel(name = "内外场区别")
    private String differenceFields;

    /** 是否拉条挂账 */
    @Excel(name = "是否拉条挂账")
    private String hangAccount;

    /** 是否归零 */
    @Excel(name = "是否归零")
    private String returnZero;

    /** 责任人 */
    @Excel(name = "责任人")
    private String personLiable;

    /** 责任单位 */
    @Excel(name = "责任单位")
    private String responsibleUnit;

    /** 附件 */
    @Excel(name = "附件")
    private String accessories;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 备注1 */

    private String note1;

    /** 备注2 */

    private String note2;

    /** 备注3 */

    private String note3;

    /** 备注4 */

    private String note4;

    /** 备注5 */

    private String note5;

    /** 备注6 */

    private String note6;

    /** 备注7 */

    private String note7;

    /** 备注8 */

    private String note8;

    /** 备注9 */

    private String note9;

    /** 备注10 */

    private String note10;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIssueName(String issueName)
    {
        this.issueName = issueName;
    }

    public String getIssueName()
    {
        return issueName;
    }
    public void setIssueType(String issueType)
    {
        this.issueType = issueType;
    }

    public String getIssueType()
    {
        return issueType;
    }
    public void setIssueDiscovery(String issueDiscovery)
    {
        this.issueDiscovery = issueDiscovery;
    }

    public String getIssueDiscovery()
    {
        return issueDiscovery;
    }
    public void setInvolveProcess(String involveProcess)
    {
        this.involveProcess = involveProcess;
    }

    public String getInvolveProcess()
    {
        return involveProcess;
    }
    public void setCreditCodes(String creditCodes)
    {
        this.creditCodes = creditCodes;
    }

    public String getCreditCodes()
    {
        return creditCodes;
    }
    public void setContractorUnitNature(String contractorUnitNature)
    {
        this.contractorUnitNature = contractorUnitNature;
    }

    public String getContractorUnitNature()
    {
        return contractorUnitNature;
    }
    public void setSupervisionMethod(String supervisionMethod)
    {
        this.supervisionMethod = supervisionMethod;
    }

    public String getSupervisionMethod()
    {
        return supervisionMethod;
    }
    public void setFoundProblems(String foundProblems)
    {
        this.foundProblems = foundProblems;
    }

    public String getFoundProblems()
    {
        return foundProblems;
    }
    public void setPlannedZeroTime(Date plannedZeroTime)
    {
        this.plannedZeroTime = plannedZeroTime;
    }

    public Date getPlannedZeroTime()
    {
        return plannedZeroTime;
    }
    public void setRepresentativeOffice(String representativeOffice)
    {
        this.representativeOffice = representativeOffice;
    }

    public String getRepresentativeOffice()
    {
        return representativeOffice;
    }
    public void setDealWithOrganization(String dealWithOrganization)
    {
        this.dealWithOrganization = dealWithOrganization;
    }

    public String getDealWithOrganization()
    {
        return dealWithOrganization;
    }
    public void setProblemFactDescription(String problemFactDescription)
    {
        this.problemFactDescription = problemFactDescription;
    }

    public String getProblemFactDescription()
    {
        return problemFactDescription;
    }
    public void setCauseDetails(String causeDetails)
    {
        this.causeDetails = causeDetails;
    }

    public String getCauseDetails()
    {
        return causeDetails;
    }
    public void setSettlementMeasures(String settlementMeasures)
    {
        this.settlementMeasures = settlementMeasures;
    }

    public String getSettlementMeasures()
    {
        return settlementMeasures;
    }
    public void setQuestionNumber(String questionNumber)
    {
        this.questionNumber = questionNumber;
    }

    public String getQuestionNumber()
    {
        return questionNumber;
    }
    public void setDirectCauseCategory(String directCauseCategory)
    {
        this.directCauseCategory = directCauseCategory;
    }

    public String getDirectCauseCategory()
    {
        return directCauseCategory;
    }
    public void setProblemModel(String problemModel)
    {
        this.problemModel = problemModel;
    }

    public String getProblemModel()
    {
        return problemModel;
    }
    public void setContractorUnitCode(String contractorUnitCode)
    {
        this.contractorUnitCode = contractorUnitCode;
    }

    public String getContractorUnitCode()
    {
        return contractorUnitCode;
    }
    public void setContractorDepartment(String contractorDepartment)
    {
        this.contractorDepartment = contractorDepartment;
    }

    public String getContractorDepartment()
    {
        return contractorDepartment;
    }
    public void setRepresentativeOfficeSealNumber(String representativeOfficeSealNumber)
    {
        this.representativeOfficeSealNumber = representativeOfficeSealNumber;
    }

    public String getRepresentativeOfficeSealNumber()
    {
        return representativeOfficeSealNumber;
    }
    public void setDiscoveryDate(String discoveryDate)
    {
        this.discoveryDate = discoveryDate;
    }

    public String getDiscoveryDate()
    {
        return discoveryDate;
    }
    public void setRepresentativeBureau(String representativeBureau)
    {
        this.representativeBureau = representativeBureau;
    }

    public String getRepresentativeBureau()
    {
        return representativeBureau;
    }
    public void setProblemSolving(String problemSolving)
    {
        this.problemSolving = problemSolving;
    }

    public String getProblemSolving()
    {
        return problemSolving;
    }
    public void setProblemZero(String problemZero)
    {
        this.problemZero = problemZero;
    }

    public String getProblemZero()
    {
        return problemZero;
    }
    public void setProblemLevel(String problemLevel)
    {
        this.problemLevel = problemLevel;
    }

    public String getProblemLevel()
    {
        return problemLevel;
    }
    public void setDifferenceFields(String differenceFields)
    {
        this.differenceFields = differenceFields;
    }

    public String getDifferenceFields()
    {
        return differenceFields;
    }
    public void setHangAccount(String hangAccount)
    {
        this.hangAccount = hangAccount;
    }

    public String getHangAccount()
    {
        return hangAccount;
    }
    public void setReturnZero(String returnZero)
    {
        this.returnZero = returnZero;
    }

    public String getReturnZero()
    {
        return returnZero;
    }
    public void setPersonLiable(String personLiable)
    {
        this.personLiable = personLiable;
    }

    public String getPersonLiable()
    {
        return personLiable;
    }
    public void setResponsibleUnit(String responsibleUnit)
    {
        this.responsibleUnit = responsibleUnit;
    }

    public String getResponsibleUnit()
    {
        return responsibleUnit;
    }
    public void setAccessories(String accessories)
    {
        this.accessories = accessories;
    }

    public String getAccessories()
    {
        return accessories;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setNote1(String note1)
    {
        this.note1 = note1;
    }

    public String getNote1()
    {
        return note1;
    }
    public void setNote2(String note2)
    {
        this.note2 = note2;
    }

    public String getNote2()
    {
        return note2;
    }
    public void setNote3(String note3)
    {
        this.note3 = note3;
    }

    public String getNote3()
    {
        return note3;
    }
    public void setNote4(String note4)
    {
        this.note4 = note4;
    }

    public String getNote4()
    {
        return note4;
    }
    public void setNote5(String note5)
    {
        this.note5 = note5;
    }

    public String getNote5()
    {
        return note5;
    }
    public void setNote6(String note6)
    {
        this.note6 = note6;
    }

    public String getNote6()
    {
        return note6;
    }
    public void setNote7(String note7)
    {
        this.note7 = note7;
    }

    public String getNote7()
    {
        return note7;
    }
    public void setNote8(String note8)
    {
        this.note8 = note8;
    }

    public String getNote8()
    {
        return note8;
    }
    public void setNote9(String note9)
    {
        this.note9 = note9;
    }

    public String getNote9()
    {
        return note9;
    }
    public void setNote10(String note10)
    {
        this.note10 = note10;
    }

    public String getNote10()
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("issueName", getIssueName())
            .append("issueType", getIssueType())
            .append("issueDiscovery", getIssueDiscovery())
            .append("involveProcess", getInvolveProcess())
            .append("creditCodes", getCreditCodes())
            .append("contractorUnitNature", getContractorUnitNature())
            .append("supervisionMethod", getSupervisionMethod())
            .append("foundProblems", getFoundProblems())
            .append("plannedZeroTime", getPlannedZeroTime())
            .append("representativeOffice", getRepresentativeOffice())
            .append("dealWithOrganization", getDealWithOrganization())
            .append("problemFactDescription", getProblemFactDescription())
            .append("causeDetails", getCauseDetails())
            .append("settlementMeasures", getSettlementMeasures())
            .append("questionNumber", getQuestionNumber())
            .append("directCauseCategory", getDirectCauseCategory())
            .append("problemModel", getProblemModel())
            .append("contractorUnitCode", getContractorUnitCode())
            .append("contractorDepartment", getContractorDepartment())
            .append("representativeOfficeSealNumber", getRepresentativeOfficeSealNumber())
            .append("discoveryDate", getDiscoveryDate())
            .append("representativeBureau", getRepresentativeBureau())
            .append("problemSolving", getProblemSolving())
            .append("problemZero", getProblemZero())
            .append("problemLevel", getProblemLevel())
            .append("differenceFields", getDifferenceFields())
            .append("hangAccount", getHangAccount())
            .append("returnZero", getReturnZero())
            .append("personLiable", getPersonLiable())
            .append("responsibleUnit", getResponsibleUnit())
            .append("accessories", getAccessories())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
                .append("dept", getDept())
            .toString();
    }
}
